package com.shao.im.controller;


import com.shao.im.entity.PostImg;
import com.shao.im.service.PostImgService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

/**
 * 动态图片表(PostImg)表控制层
 *
 * @author makejava
 * @since 2023-08-04 22:23:24
 */
@RestController
@RequestMapping("/postImg")
public class PostImgController {
    /**
     * 服务对象
     */
    @Autowired
    private PostImgService postImgService;

    public List<PostImg> queryImages(Integer pid) {
        return postImgService.queryImages(pid);
    }
}

